/*
 * Description: FD报价文件调用后台接口
 * Company: 联宝（合肥）电子科技有限公司
 * Author: Qiuxue.Wu
 * Date: 2020/05/28 17:07
 */

import { httpPost } from '../../utils/axios-utils'

export function filePageList(obj, authConfig) {
  return httpPost('/smart-cost/quote/file/pageList', obj, authConfig)
}

export function fileAdd(obj, authConfig) {
  return httpPost('/smart-cost/quote/file/add', obj, authConfig)
}

export function fileEdit(obj, authConfig) {
  return httpPost('/smart-cost/quote/file/edit', obj, authConfig)
}

export function fileDelete(obj, authConfig) {
  return httpPost('/smart-cost/quote/file/delete', obj, authConfig)
}

export function fileStartQuote(obj, authConfig) {
  return httpPost('/smart-cost/quote/file/startQuote', obj, authConfig)
}

export function fileQuoteCommit(obj, authConfig) {
  return httpPost('/smart-cost/quote/file/quoteCommit', obj, authConfig)
}

export function fileExport(obj, authConfig) {
  return httpPost('/smart-cost/quote/file/export', obj, authConfig)
}
